/**
* project  edu.lagou.com   stage1_module1
* @author libaice 
* @email libaice147@gmail.com
*/

import java.util.*; // package util should be imporetd by using (Array) and (Random)
public class twoColor
{
	public static void main (String[] args){
		Random ra = new Random();
		
		System.out.println("The redBall's prize number are as follows");
		int [] arr1 = new int[6];
		for (int i = 0;i < 6 ;i++ )
		{
			int tmp = ra.nextInt(33)+1;  
			if((Arrays.binarySearch(arr1, tmp)) < 0){  // binarySearch : check the index of (tmp) in the array of (arr1), if not , return a negative integer
				arr1[i] = tmp;
			}else{
				return;
			}
		}
		System.out.println(Arrays.toString(arr1)); // (toString) print the array 
		
		System.out.println("The whiteBall's prize is this:  ");
		int tmp1 = ra.nextInt(16)+1;
		System.out.println(tmp1);




	}

}